package com.xiaogao.serviceOrder.client;

import com.xiaogao.commonUtils.orderVo.CourseInfoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author 小高
 * @createtime 2021-07-05-13:46
 * @description
 */
@Component
@FeignClient("service-edu")
public interface EduClient {

    @PostMapping("/serviceEdu/courseFront/getCourseInfoOrder/{courseId}")
    public CourseInfoOrder getCourseInfoOrder(@PathVariable("courseId") String courseId);
}
